import javax.lang.model.element.NestingKind;
import java.lang.reflect.Array;
import java.util.*;
import java.util.Arrays;
import java.util.Scanner;
public class Test_9_6 {

    public static void main1(String[] args) {
        while (true) {
            Scanner in = new Scanner(System.in);
            // 注意 hasNext 和 hasNextLine 的区别
            while (in.hasNextLine()) {
                String str = in.nextLine();
                int flag = 0;
                int len = str.length();
                char[] ret = new char[len];
                for (int i = 0; i < str.length(); i++) {
                    int a = 0;
                    for (int j = 0; j < i; j++) {
                        if (str.charAt(i) == str.charAt(j)) {
                            len--;
                            a = 1;
                            flag--;
                            break;
                        }
                    }
                    if (a == 0) {
                        ret[flag] = str.charAt(i);
                    } else ;
                    flag++;
                }
                str = new String(ret);
                String arr = str.substring(0, len);
                System.out.println(arr);
            }
        }
    }

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println(in.hasNextLine());
        System.out.println(in.hasNext());
    }
}